package com.ruoyi.goodscategory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品分类对象 goods_category
 * 
 * @author ruoyi
 * @date 2025-02-25
 */
public class GoodsCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品类型ID */
    @Excel(name = "商品类型ID")
    private Long categoryId;

    /** 商品类型名称 */
    @Excel(name = "商品类型名称")
    private String categoryName;

    /** 类型图片 */
    @Excel(name = "类型图片")
    private String categoryImage;

    /** 类型描述 */
    @Excel(name = "类型描述")
    private String categoryDescription;

    /** 类型状态（1=可用，0=不可用） */
    @Excel(name = "类型状态", readConverterExp = "1==可用，0=不可用")
    private Long categoryStatus;

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setCategoryImage(String categoryImage) 
    {
        this.categoryImage = categoryImage;
    }

    public String getCategoryImage() 
    {
        return categoryImage;
    }
    public void setCategoryDescription(String categoryDescription) 
    {
        this.categoryDescription = categoryDescription;
    }

    public String getCategoryDescription() 
    {
        return categoryDescription;
    }
    public void setCategoryStatus(Long categoryStatus) 
    {
        this.categoryStatus = categoryStatus;
    }

    public Long getCategoryStatus() 
    {
        return categoryStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("categoryImage", getCategoryImage())
            .append("categoryDescription", getCategoryDescription())
            .append("categoryStatus", getCategoryStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
